//
//  FriendListView.h
//  MacDevTest
//
//  Created by 夏利兵 on 2020/8/13.
//  Copyright © 2020 com.lbx. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class FriendListView;

@protocol FriendListViewDelegate <NSObject>

@optional

- (void)didselectRow:(NSInteger)row identifer:(NSString*)identifer view:(FriendListView*)view;

- (void)didRightMouseDownRow:(NSInteger)row identifer:(NSString*)identifer view:(FriendListView*)view;

- (void)didCloseView:(NSInteger)row identifer:(NSString*)identifer view:(FriendListView*)view;

@end

@interface FriendListView : NSView
@property (nonatomic, weak) id<FriendListViewDelegate> delegate;
@property (nonatomic, assign) NSInteger row;
@property (nonatomic, strong) NSImageView *userImageView;
@property (nonatomic, strong) NSTextField *userNickName;
@property (nonatomic, strong) NSTextField *detailInfo;

@property (nonatomic, copy) NSString *identifer;
@end


